package com.sunshineedu.sunshineeducationspring.service;

import com.sunshineedu.sunshineeducationspring.dao.TestDao;
import com.sunshineedu.sunshineeducationspring.entity.Test;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class TestService {
    @Resource
    private TestDao testDao;

    public Test findNameById(Long id) {
        return testDao.findNameById(id);
    }
}